package com.coda.clouddisk.controller.impl;

import com.coda.clouddisk.context.BaseContext;
import com.coda.clouddisk.controller.SuperController;
import com.coda.clouddisk.controller.inter.MyFriendController;
import com.coda.clouddisk.controller.inter.UserController;
import com.coda.clouddisk.entity.KesunReturn;
import com.coda.clouddisk.entity.User;
import com.coda.clouddisk.service.impl.MyFriendServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collections;
import java.util.Map;
@RestController
@RequestMapping("/clouddisk/myFriend")
public class MyFriendControllerImpl extends SuperController implements MyFriendController {

    @Autowired
    private MyFriendServiceImpl myFriendService;

    @Override
    public Map<String, Object> convertData(Map<String, Object> data) {
        setSuperService(myFriendService);
        return data;
    }


}
